Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Encoding, Cleanup #7

Merged
merged 1 commit into from
Mar 6, 2024
Merged

Conversation

glenebob
Copy link

@glenebob glenebob commented Mar 5, 2024

Add utility to get the Latin1 encoding.
Get rid of Streams.BytesToString() and .StringToBytes() methods.
Provide extension methods on Encoding to take the place of deleted Streams methods.
Use Latin1 encoding like any other Encoding.
Fix LVM ID field decoding that relied on weird magic in the old StringToBytes() method.
Minor cleanup.

Add utility to get the Latin1 encoding.
Get rid of Streams.BytesToString() and .StringToBytes() methods.
Provide extension methods on Encoding to take the place of deleted Streams methods.
Use Latin1 encoding like any other Encoding.
Minor cleanup.
@glenebob glenebob marked this pull request as ready for review March 5, 2024 00:10
@LTRData
Copy link
Owner

LTRData commented Mar 6, 2024

This is a good code quality improvement. Thanks a lot for your contribution!

@LTRData LTRData merged commit 0065318 into LTRData:LTRData.DiscUtils-initial Mar 6, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants